<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
	<referenceContainer name="content">
		<block class="RTownley\CustomCollection\Block\Product\ListProduct" name="onsale_index_display" as="product_list" template="Magento_Catalog::product/list.phtml">
			<container name="category.product.list.additional" as="additional" />
			<block class="Magento\Framework\View\Element\RendererList" name="category.product.type.details.renderers" as="details.renderers">
				<block class="Magento\Framework\View\Element\Template" name="category.product.type.details.renderers.default" as="default"/>
			</block>
			<block class="Magento\Catalog\Block\Product\ProductList\Item\Container" name="category.product.addto" as="addto">
				<block class="Magento\Catalog\Block\Product\ProductList\Item\AddTo\Compare"
					name="category.product.addto.compare" as="compare"
					template="Magento_Catalog::product/list/addto/compare.phtml"/>
			</block>
			<block class="Magento\Catalog\Block\Product\ProductList\Toolbar" name="product_list_toolbar" template="Magento_Catalog::product/list/toolbar.phtml">
				<block class="Magento\Theme\Block\Html\Pager" name="product_list_toolbar_pager"/>
			</block>
			<action method="setToolbarBlockName">
				<argument name="name" xsi:type="string">product_list_toolbar</argument>
			</action>
		</block>
	</referenceContainer>
	<referenceContainer name="sidebar.main">
        <!-- <block class="RTownley\CustomCollection\Block\Navigation" name="catalog.leftnav" as="navigation" before="-" template="RTownley_CustomCollection::layer/view.phtml"> -->
		<block class="RTownley\CustomCollection\Block\Navigation" name="catalog.leftnav" as="navigation" before="-" template="Magento_LayeredNavigation::layer/view.phtml">
			<block class="RTownley\CustomCollection\Block\Navigation\State" name="catalog.navigation.state" as="state" template="Magento_LayeredNavigation::layer/state.phtml" />
			<block class="Magento\LayeredNavigation\Block\Navigation\FilterRenderer" name="catalog.navigation.renderer" as="renderer" template="Magento_LayeredNavigation::layer/filter.phtml"/>
		</block>
	</referenceContainer>
</page>
